package com.qbccn.userservice.mapper;

import com.qbccn.userservice.domain.SsoMenuUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linke
 * @date 2020-03-14 下午 23:35
 * @description
 */
public interface SsoMenuUserMapper {
    int insertSelective(SsoMenuUser record);

    List<SsoMenuUser> get(String username);

    int update(@Param("username") String username, @Param("menuId") int menuId, @Param("status") int status);

    int clearNode(@Param("username") String username, @Param("parentId") int parentId);
}
